<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ include file="../Main/top.jsp"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="/WEB-INF/CustomTag" prefix="customTag"%>

<div class="function_title"><span class="t2"><img src="../images/dqwz.gif">当前位置：课程公共文件资源查询</span></div>
<div class="function_content">

<div class="addItem"><img src="../images/insert_icon.gif"><a href="../ExpertCourse/listCourseReadExpert.action?intercept=1">课程信息查询</a>
<img src="../images/insert_icon.gif"><a href="../ExpertCourse/listExcellentCourseReadExpert.action?intercept=1">精品课程</a>
<img src="../images/insert_icon.gif"><a href="../ExpertCourse/listCourseTeaFKReadExpert.action?intercept=1">教师任课情况查询</a>
<img src="../images/insert_icon.gif"><a href="../ExpertCourse/listCourseFileSrcPublicReadExpert.action?intercept=1">课程公共文件资源查询</a>
<img src="../images/insert_icon.gif"><a href="../ExpertCourse/listCourseFileSrcPrivateReadExpert.action?intercept=1">课程私有文件资源查询</a>
<img src="../images/insert_icon.gif">自测试题查询
<img src="../images/insert_icon.gif">课后作业查询
<img src="../images/insert_icon.gif">在线讨论查询
<img src="../images/insert_icon.gif">授课问题反馈查询
</div>

<div class="search_function">
<form action="searchListCourseFileSrcPublicReadExpert.action" method="get" name="search_form" id="search_form" >
<input type="hidden" name="intercept" value="1">
<div class="sub_form">文件名称：
  <input type="text" name="courseFileSrcPublic.courseFileName" id="courseFileSrcPublic.courseFileName" value="<s:property value='courseFileSrc.courseFileName' />"></div>
<div class="sub_form">文件描述：
  <input type="text" name="courseFileSrcPublic.courseFileRemark" id="courseFileSrcPublic.courseFileRemark" value="<s:property value='courseFileSrc.courseFileRemark' />"></div>
<div class="sub_form">资源类型：
<select name="courseFileSrcPublic.courseFileType" id="courseFileType">
	<option value="">全部</option>
<s:if test="%{courseFileSrcPublic.courseFileType==1}">
	<option value="1" selected="selected">文档</option>
</s:if>
<s:else>
	<option value="1">文档</option>
</s:else>	
<s:if test="%{courseFileSrcPublic.courseFileType==2}">
	<option value="2" selected="selected">压缩包</option>
</s:if>
<s:else>
	<option value="2">压缩包</option>
</s:else>	
<s:if test="%{courseFileSrcPublic.courseFileType==3}">
	<option value="3" selected="selected">图片</option>
</s:if>
<s:else>
	<option value="3">图片</option>
</s:else>	
<s:if test="%{courseFileSrcPublic.courseFileType==4}">
	<option value="4" selected="selected">Flash</option>
</s:if>
<s:else>
	<option value="4">Flash</option>
</s:else>	
<s:if test="%{courseFileSrcPublic.courseFileType==5}">
	<option value="5" selected="selected">视频</option>
</s:if>
<s:else>
	<option value="5">视频</option>
</s:else>	
<s:if test="%{courseFileSrcPublic.courseFileType==6}">
	<option value="6" selected="selected">音频</option>
</s:if>
<s:else>
	<option value="6">音频</option>
</s:else>	
</select>
</div>

<div class="sub_form">所属课程名称：
  <input type="text" name="courseFileSrcPublic.courseName" id="courseFileSrcPublic.courseName" value="<s:property value='courseFileSrcPublic.courseName' />"></div>
<div class="sub_form">所属分类：
<customTag:treeSelectorCoursePublic courseFileCateId="${courseFileSrcPublic.courseFileCategoryId}" type="courseFileSrcCatePublic" selectName="courseFileCategoryId" notNeedValidation="false" target="search"></customTag:treeSelectorCoursePublic>
</div>
<div class="sub_form">创建者：
  <input type="text" name="courseFileSrcPublic.author" id="courseFileSrcPublic.author" value="<s:property value='courseFileSrcPublic.author' />"></div>
<div class="sub_form"><input type="submit" value="搜索" class="button"></div>
</form>
</div>



<table width="100%" border="0" cellspacing="0" cellpadding="0" class="listTable">
  <tr class="title_line">
    <td>序号</td>
    <td>文件名称</td>
    <td>文件描述</td>
    <td>文件类别</td>
    <td>所属课程</td>
    <td>所属分类</td>
    <td>创建者</td>
    <td>创建时间</td>
    <td>更新时间</td>
    <td>操作</td>
  </tr>
<s:iterator value="listCourseFileSrcPublic" status="stat">
  <tr>
    <td><s:property value="#stat.getIndex()+1" /></td>
    <td><s:property value="courseFileName" /></td>
	<td><s:property value="courseFileRemark" /></td>
	<td><s:property value="courseFileTypeName" /></td>	
	<td><s:property value="courseName" /></td>
	<td><s:property value="courseFileCateName" /></td>
	<td><s:property value="author" /></td>
    <td><s:property value="gmtCreatedString" /></td>
    <td><s:property value="gmtModifiedString" /></td>
    <td><a href="<s:property value="downLoadUrl" />">下载</a></td>
  </tr>
 </s:iterator>
</table>
<p><customTag:pages pageNo="${pagination.pageNo}" total="${pagination.totalPage}" theme="text" /></p>


</div>

<%@ include file="../Main/bottom.jsp"%>

